﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Comic.Common
{
    public class cComicPage
    {
        private System.Drawing.Image _PageImage;

        private string _PageBannerHtml;

        private int _PageRating;

        private string _TitleText;

        private string _ChapterTitle;

        private DateTime _PageDate;

        private int _PageID;

        private string _PageUrl;



        

        /// <summary>Constructor</summary>
        public cComicPage()
        {
            this._ChapterTitle = string.Empty;
            this._PageBannerHtml = string.Empty;
            this._PageDate = DateTime.Now;
            this._PageID = -1;
            this._PageImage = null;
            this._PageRating = -1;
            this._PageUrl = string.Empty;
            this._TitleText = string.Empty;
        }

        /// <summary>the URL to view the Page in the Browser</summary>
        public string PageURL
        {
            get { return _PageUrl; }
            set { _PageUrl = value; }
        }

        /// <summary>the ID for the Page</summary>
        public int PageID
        {
            get { return _PageID; }
            set { _PageID = value; }
        }

        /// <summary>the (Release-)Date for the Page</summary>
        public DateTime PageDate
        {
            get { return _PageDate; }
            set { _PageDate = value; }
        }
        
        /// <summary>the Chapter for the Page</summary>
        public string ChapterTitle
        {
            get { return _ChapterTitle; }
            set { _ChapterTitle = value; }
        }
        
        /// <summary>The Title for the Page</summary>
        public string TitleText
        {
            get { return _TitleText; }
            set { _TitleText = value; }
        }

        /// <summary>Rate 1 to 5</summary>
        public int PageRating
        {
            get { return _PageRating; }
            set { _PageRating = value; }
        }
        
        /// <summary>the HTML-Code for the Banner-Page</summary>
        public string PageBannerHtml
        {
            get { return _PageBannerHtml; }
            set { _PageBannerHtml = value; }
        }

        /// <summary>the Image for the Page</summary>
        public System.Drawing.Image PageImage
        {
            get { return _PageImage; }
            set { _PageImage = value; }
        }
        


    }
}